package com.example.multilevelapprovalback.mapper;

import com.example.multilevelapprovalback.pojo.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface RoleMapper {
    //查询所有角色
    @Select("select * from role")
    List<Role> getAllRole();
}
